package com.project.class8_24.builder;

public class Test {
    public static void main(String[] args) {
        IBuilder b1 = new LenovoBuilder("I5处理器","12G");
        Director d = new Director();
        d.createComputer(b1);
        System.out.println(b1.getComputer());

        IBuilder b2 = new AsusBuilder("I7处理器","16G");
        d.createComputer(b2);
        System.out.println(b2.getComputer());
    }
}
